package com.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 大静
 * @date 2021-05-11 09:56
 * @version 1.0
 * @description 商品的微服务启动类
 * @copyright 2021
 */
@EnableEurekaClient
@EnableCircuitBreaker
@EnableFeignClients
@MapperScan(basePackages = "com.product.dao")
@SpringBootApplication
public class ProductApplication {

  public static void main(String[] args) {
    SpringApplication.run(ProductApplication.class, args);
  }
}
